Skip to main content
Version: current

firewall


ip/firewall/connection/tracking

Type: Settings Directory

ArgumentTypeDescription
enabledenum (auto | yes | no)
tcp-syn-sent-timeouttime
tcp-syn-received-timeouttime
tcp-established-timeouttime
tcp-fin-wait-timeouttime
tcp-close-wait-timeouttime
tcp-last-ack-timeouttime
tcp-time-wait-timeouttime
tcp-close-timeouttime
tcp-max-retrans-timeouttime
tcp-unacked-timeouttime
loose-tcp-trackingbool
liberal-tcp-trackingbool
udp-timeouttime
udp-stream-timeouttime
icmp-timeouttime
generic-timeouttime
Read-only ArgumentTypeDescription
active-ipv4bool
active-ipv6bool
max-entriesnum
total-entriesnum
total-ip4-entriesnum
total-ip6-entriesnum

ip/firewall/address-list

Type: Directory

FlagNameDescription
Xdisableddisabled
Ddynamicdynamic
ArgumentTypeDescription
list ( mandatory )enum
addressalt { ip_range_arg , string }
timeouttime
dynamicbool
Read-only ArgumentTypeDescription
creation-timedate_arg

ip/firewall/filter

Type: Directory

ArgumentTypeDescription
allswitch
staticswitch
dynamicswitch
chain ( mandatory )enum
actionenum (accept | jump | return | log | passthrough | add-src-to-address-list | add-dst-to-address-list | drop | reject | tarpit | fasttrack-connection)
jump-targetenum ()
reject-withenum (icmp-network-unreachable | icmp-host-unreachable | icmp-protocol-unreachable | icmp-port-unreachable | icmp-net-prohibited | icmp-host-prohibited | tcp-reset | icmp-admin-prohibited)
hw-offload (syscap=crs_prestera)bool { }
tcp-flagssuper { !, , multi_arg { array-id, array-id, super { ! , enum (fin | syn | rst | psh | ack | urg | ece | cwr) { fin:0, syn:1, rst:2, psh:3, ack:4, urg:5, ece:6, cwr:7 } } { ! , enum (fin | syn | rst | psh | ack | urg | ece | cwr) { fin:0, syn:1, rst:2, psh:3, ack:4, urg:5, ece:6, cwr:7 } } } { array-id, array-id, super { ! , enum (fin | syn | rst | psh | ack | urg | ece | cwr) { fin:0, syn:1, rst:2, psh:3, ack:4, urg:5, ece:6, cwr:7 } } { ! , enum (fin | syn | rst | psh | ack | urg | ece | cwr) { fin:0, syn:1, rst:2, psh:3, ack:4, urg:5, ece:6, cwr:7 } } } }
p2psuper { ! , enum (fasttrack | gnutella | direct-connect | edonkey | bit-torrent | blubster | soulseek | winmx | warez | all-p2p) { fasttrack:0x01, gnutella:0x02, direct-connect:0x03, edonkey:0x04, bit-torrent:0x05, blubster:0x06, soulseek:0x07, winmx:0x08, warez:0x09, all-p2p:0xFF } }
connection-statesuper { ! , ubit (invalid, established, related, new, untracked) { invalid, established, related, new, untracked } }
connection-nat-statesuper { ! , ubit (srcnat, dstnat, ein-snat, ein-dnat) { srcnat, dstnat, ein-snat, ein-dnat } }
tls-hostsuper { ! , string }
connection-limitsuper { ! , num , ,num }
layer7-protocolsuper { ! , enum }
realmsuper { ! , num }
protocolsuper { ! , enum () { } }
src-addresssuper { ! , ip_range_arg }
dst-addresssuper { ! , ip_range_arg }
fragmentsuper { bool }
psdsuper { num , ,time , ,num , ,num }
ipv4-optionssuper { enum (strict-source-routing | loose-source-routing | no-source-routing | record-route | no-record-route | timestamp | no-timestamp | router-alert | no-router-alert | any | none) { strict-source-routing:0x1, loose-source-routing:0x2, no-source-routing:0x4, record-route:0x8, no-record-route:0x10, timestamp:0x20, no-timestamp:0x40, router-alert:0x80, no-router-alert:0x100, any:0x200, none:0x400 } }
src-address-typesuper { ! , ubit (unicast, local, broadcast, multicast, blackhole) { unicast, local, broadcast, multicast, blackhole } }
dst-address-typesuper { ! , ubit (unicast, local, broadcast, multicast, blackhole) { unicast, local, broadcast, multicast, blackhole } }
src-address-listsuper { ! , enum }
dst-address-listsuper { ! , enum }
hotspotmulti_arg { array-id, array-id, super { ! , enum (from-client | auth | local-dst | to-client | http) { from-client:0, auth:1, local-dst:2, to-client:3, http:4 } } { ! , enum (from-client | auth | local-dst | to-client | http) { from-client:0, auth:1, local-dst:2, to-client:3, http:4 } } }
address-listenum ()
address-list-timeoutalt { enum (none-dynamic | none-static) { none-dynamic:0, none-static:0xffffffff } , time [ .. 21474836] , }
ttlsuper { enum (equal | not-equal | less-than | greater-than) { equal:0, not-equal:1, less-than:2, greater-than:3 } , :num [0 .. 255] }
connection-marksuper { ! , enum }
connection-typesuper { ! , enum (ftp | pptp | h323 | sip | irc | quake3 | tftp) { ftp:0, pptp:1, h323:2, sip:3, irc:4, quake3:5, tftp:6 } }
connection-bytessuper { num , -num }
connection-ratesuper { ! , num , -num }
routing-marksuper { ! , enum () { } }
in-interfacesuper { ! , interface_enum { } { } }
out-interfacesuper { ! , interface_enum { } { } }
in-interface-listsuper { ! , enum }
out-interface-listsuper { ! , enum }
in-bridge-portsuper { ! , interface_enum { } { } }
out-bridge-portsuper { ! , interface_enum { } { } }
in-bridge-port-listsuper { ! , enum }
out-bridge-port-listsuper { ! , enum }
packet-marksuper { ! , enum }
src-portsuper { ! , multi_arg { , , range_arg [ .. 65535] } { , , range_arg [ .. 65535] } }
dst-portsuper { ! , multi_arg { , , range_arg [ .. 65535] } { , , range_arg [ .. 65535] } }
portsuper { ! , multi_arg { , , range_arg [ .. 65535] } { , , range_arg [ .. 65535] } }
icmp-optionssuper { ! , num [0 .. 255] , [ :range_arg [ .. 255]] }
src-mac-addresssuper { ! , macAddr }
contentsuper { ! , string }
ingress-prioritysuper { ! , num [0 .. 63] }
prioritysuper { ! , num [0 .. 63] }
dscpsuper { ! , num [0 .. 63] }
tossuper { ! , num [0 .. 255] , [ /num [0 .. 255]] }
limitsuper { ! , num [1 .. 32000000000] , [ /time [1 .. ]] , ,num [ .. 2000000000] , [ :enum (packet | bit) { packet:0, bit:1 }] }
dst-limitsuper { num , [ /time] , ,num , ,enum (dst-address | dst-address-and-port | src-address | src-and-dst-addresses | addresses-and-dst-port) { dst-address:1, dst-address-and-port:3, src-address:4, src-and-dst-addresses:5, addresses-and-dst-port:7 } , [ /time] }
timesuper { ! , time [0 .. 86400] , -time [0 .. 86400] , ,ubit (sun, mon, tue, wed, thu, fri, sat) { sun, mon, tue, wed, thu, fri, sat } }
randomsuper { num [1 .. 99] }
nthsuper { ! , num [1 .. ] , [ ,num [1 .. ]] }
tcp-msssuper { ! , num [0 .. 65535] , -num [0 .. 65535] }
per-connection-classifiersuper { ! , enum (src-address | dst-address | both-addresses | src-port | src-address-and-port | dst-port | dst-address-and-port | both-ports | both-addresses-and-ports) { src-address:1, dst-address:2, both-addresses:3, src-port:4, src-address-and-port:5, dst-port:8, dst-address-and-port:10, both-ports:12, both-addresses-and-ports:15 } , :num [1 .. ] , /num [0 .. ] }
packet-sizesuper { ! , num [ .. 65535] , -num [ .. 65535] }
logbool
log-prefixstring
ipsec-policysuper { enum (in | out) { in:0, out:1 } , ,enum (none | ipsec) { none:0, ipsec:1 } }

ip/firewall/service-port

Type: Directory

FlagNameDescription
Xdisableddisabled
Iinvalidinvalid
ArgumentTypeDescription
portsmulti_arg { , num [0 .. 65535] }
sip-direct-mediabool
sip-timeouttime
Read-only ArgumentTypeDescription
namestring

ip/firewall/nat

Type: Directory

ArgumentTypeDescription
allswitch
staticswitch
dynamicswitch
chain ( mandatory )enum
actionenum (accept | jump | return | log | passthrough | add-src-to-address-list | add-dst-to-address-list | src-nat | masquerade | dst-nat | redirect | same | netmap | endpoint-independent-nat | socksify)
jump-targetenum ()
to-addressessuper { , ip_range_arg }
to-portssuper { , num [0 .. 65535] , -num [0 .. 65535] }
same-not-by-dstbool { }
randomise-portsbool { }
socksify-serviceenum
socks5-serveripAddr
socks5-portnum
connection-limitsuper { ! , num , ,num }
layer7-protocolsuper { ! , enum }
realmsuper { ! , num }
protocolsuper { ! , enum () { } }
src-addresssuper { ! , ip_range_arg }
dst-addresssuper { ! , ip_range_arg }
fragmentsuper { bool }
psdsuper { num , ,time , ,num , ,num }
ipv4-optionssuper { enum (strict-source-routing | loose-source-routing | no-source-routing | record-route | no-record-route | timestamp | no-timestamp | router-alert | no-router-alert | any | none) { strict-source-routing:0x1, loose-source-routing:0x2, no-source-routing:0x4, record-route:0x8, no-record-route:0x10, timestamp:0x20, no-timestamp:0x40, router-alert:0x80, no-router-alert:0x100, any:0x200, none:0x400 } }
src-address-typesuper { ! , ubit (unicast, local, broadcast, multicast, blackhole) { unicast, local, broadcast, multicast, blackhole } }
dst-address-typesuper { ! , ubit (unicast, local, broadcast, multicast, blackhole) { unicast, local, broadcast, multicast, blackhole } }
src-address-listsuper { ! , enum }
dst-address-listsuper { ! , enum }
hotspotmulti_arg { array-id, array-id, super { ! , enum (from-client | auth | local-dst | to-client | http) { from-client:0, auth:1, local-dst:2, to-client:3, http:4 } } { ! , enum (from-client | auth | local-dst | to-client | http) { from-client:0, auth:1, local-dst:2, to-client:3, http:4 } } }
address-listenum ()
address-list-timeoutalt { enum (none-dynamic | none-static) { none-dynamic:0, none-static:0xffffffff } , time [ .. 21474836] , }
ttlsuper { enum (equal | not-equal | less-than | greater-than) { equal:0, not-equal:1, less-than:2, greater-than:3 } , :num [0 .. 255] }
connection-marksuper { ! , enum }
connection-typesuper { ! , enum (ftp | pptp | h323 | sip | irc | quake3 | tftp) { ftp:0, pptp:1, h323:2, sip:3, irc:4, quake3:5, tftp:6 } }
connection-bytessuper { num , -num }
connection-ratesuper { ! , num , -num }
routing-marksuper { ! , enum () { } }
in-interfacesuper { ! , interface_enum { } { } }
out-interfacesuper { ! , interface_enum { } { } }
in-interface-listsuper { ! , enum }
out-interface-listsuper { ! , enum }
in-bridge-portsuper { ! , interface_enum { } { } }
out-bridge-portsuper { ! , interface_enum { } { } }
in-bridge-port-listsuper { ! , enum }
out-bridge-port-listsuper { ! , enum }
packet-marksuper { ! , enum }
src-portsuper { ! , multi_arg { , , range_arg [ .. 65535] } { , , range_arg [ .. 65535] } }
dst-portsuper { ! , multi_arg { , , range_arg [ .. 65535] } { , , range_arg [ .. 65535] } }
portsuper { ! , multi_arg { , , range_arg [ .. 65535] } { , , range_arg [ .. 65535] } }
icmp-optionssuper { ! , num [0 .. 255] , [ :range_arg [ .. 255]] }
src-mac-addresssuper { ! , macAddr }
contentsuper { ! , string }
ingress-prioritysuper { ! , num [0 .. 63] }
prioritysuper { ! , num [0 .. 63] }
dscpsuper { ! , num [0 .. 63] }
tossuper { ! , num [0 .. 255] , [ /num [0 .. 255]] }
limitsuper { ! , num [1 .. 32000000000] , [ /time [1 .. ]] , ,num [ .. 2000000000] , [ :enum (packet | bit) { packet:0, bit:1 }] }
dst-limitsuper { num , [ /time] , ,num , ,enum (dst-address | dst-address-and-port | src-address | src-and-dst-addresses | addresses-and-dst-port) { dst-address:1, dst-address-and-port:3, src-address:4, src-and-dst-addresses:5, addresses-and-dst-port:7 } , [ /time] }
timesuper { ! , time [0 .. 86400] , -time [0 .. 86400] , ,ubit (sun, mon, tue, wed, thu, fri, sat) { sun, mon, tue, wed, thu, fri, sat } }
randomsuper { num [1 .. 99] }
nthsuper { ! , num [1 .. ] , [ ,num [1 .. ]] }
tcp-msssuper { ! , num [0 .. 65535] , -num [0 .. 65535] }
per-connection-classifiersuper { ! , enum (src-address | dst-address | both-addresses | src-port | src-address-and-port | dst-port | dst-address-and-port | both-ports | both-addresses-and-ports) { src-address:1, dst-address:2, both-addresses:3, src-port:4, src-address-and-port:5, dst-port:8, dst-address-and-port:10, both-ports:12, both-addresses-and-ports:15 } , :num [1 .. ] , /num [0 .. ] }
packet-sizesuper { ! , num [ .. 65535] , -num [ .. 65535] }
logbool
log-prefixstring
ipsec-policysuper { enum (in | out) { in:0, out:1 } , ,enum (none | ipsec) { none:0, ipsec:1 } }

ip/firewall/connection

Type: Directory

FlagNameDescription
Eexpectedexpected
Sseen-replyseen-reply
Aassuredassured
Cconfirmedconfirmed
Ddyingdying
Ffasttrackfasttrack
Hhw-offloadhw-offload
ssrcnatsrcnat
ddstnatdstnat
huses-helperuses-helper
Read-only ArgumentTypeDescription
protocolenum ()
src-addressipAddr
src-portnum
dst-addressipAddr
dst-portnum
reply-src-addressipAddr
reply-src-portnum
reply-dst-addressipAddr
reply-dst-portnum
tcp-stateenum (none | syn-sent | syn-recv | established | fin-wait | close-wait | last-ack | time-wait | close | listen)
icmp-typenum
icmp-codenum
icmp-idnum
gre-protocolnum
gre-versionnum
gre-keynum
connection-typestring
timeouttime
connection-markstring
orig-packetsnum
orig-bytesnum
orig-fasttrack-packetsnum
orig-fasttrack-bytesnum
repl-packetsnum
repl-bytesnum
repl-fasttrack-packetsnum
repl-fasttrack-bytesnum
orig-ratenum
repl-ratenum

ip/firewall/mangle

Type: Directory

ArgumentTypeDescription
allswitch
staticswitch
dynamicswitch
chain ( mandatory )enum
actionenum (accept | jump | return | log | passthrough | add-src-to-address-list | add-dst-to-address-list | sniff-tzsp | sniff-pc | drop | mark-packet | mark-connection | change-mss | change-dscp | strip-ipv4-options | change-ttl | mark-routing | set-priority | clear-df | fasttrack-connection | route)
jump-targetenum ()
new-packet-markenum ()
new-connection-markenum ()
new-routing-markenum ()
new-mssalt { , enum (clamp-to-pmtu) { clamp-to-pmtu:65535 } , num [40 .. 65534] }
new-dscpenum (from-priority-to-high-3-bits | from-priority)
new-priorityalt { , enum (from-dscp | from-ingress | from-dscp-high-3-bits) { from-dscp:65536, from-ingress:65537, from-dscp-high-3-bits:65538 } , num [0 .. 63] }
new-ttlsuper { , enum (set | increment | decrement) { set:0, increment:1, decrement:2 } , :num [0 .. 255] }
passthroughbool { }
tcp-flagssuper { !, , multi_arg { array-id, array-id, super { ! , enum (fin | syn | rst | psh | ack | urg | ece | cwr) { fin:0, syn:1, rst:2, psh:3, ack:4, urg:5, ece:6, cwr:7 } } { ! , enum (fin | syn | rst | psh | ack | urg | ece | cwr) { fin:0, syn:1, rst:2, psh:3, ack:4, urg:5, ece:6, cwr:7 } } } { array-id, array-id, super { ! , enum (fin | syn | rst | psh | ack | urg | ece | cwr) { fin:0, syn:1, rst:2, psh:3, ack:4, urg:5, ece:6, cwr:7 } } { ! , enum (fin | syn | rst | psh | ack | urg | ece | cwr) { fin:0, syn:1, rst:2, psh:3, ack:4, urg:5, ece:6, cwr:7 } } } }
p2psuper { ! , enum (fasttrack | gnutella | direct-connect | edonkey | bit-torrent | blubster | soulseek | winmx | warez | all-p2p) { fasttrack:0x01, gnutella:0x02, direct-connect:0x03, edonkey:0x04, bit-torrent:0x05, blubster:0x06, soulseek:0x07, winmx:0x08, warez:0x09, all-p2p:0xFF } }
connection-statesuper { ! , ubit (invalid, established, related, new, untracked) { invalid, established, related, new, untracked } }
connection-nat-statesuper { ! , ubit (srcnat, dstnat) { srcnat, dstnat } }
sniff-targetipAddr { }
sniff-target-portnum { }
sniff-idnum { }
route-dstipAddr { }
tls-hostsuper { ! , string }
connection-limitsuper { ! , num , ,num }
layer7-protocolsuper { ! , enum }
realmsuper { ! , num }
protocolsuper { ! , enum () { } }
src-addresssuper { ! , ip_range_arg }
dst-addresssuper { ! , ip_range_arg }
fragmentsuper { bool }
psdsuper { num , ,time , ,num , ,num }
ipv4-optionssuper { enum (strict-source-routing | loose-source-routing | no-source-routing | record-route | no-record-route | timestamp | no-timestamp | router-alert | no-router-alert | any | none) { strict-source-routing:0x1, loose-source-routing:0x2, no-source-routing:0x4, record-route:0x8, no-record-route:0x10, timestamp:0x20, no-timestamp:0x40, router-alert:0x80, no-router-alert:0x100, any:0x200, none:0x400 } }
src-address-typesuper { ! , ubit (unicast, local, broadcast, multicast, blackhole) { unicast, local, broadcast, multicast, blackhole } }
dst-address-typesuper { ! , ubit (unicast, local, broadcast, multicast, blackhole) { unicast, local, broadcast, multicast, blackhole } }
src-address-listsuper { ! , enum }
dst-address-listsuper { ! , enum }
hotspotmulti_arg { array-id, array-id, super { ! , enum (from-client | auth | local-dst | to-client | http) { from-client:0, auth:1, local-dst:2, to-client:3, http:4 } } { ! , enum (from-client | auth | local-dst | to-client | http) { from-client:0, auth:1, local-dst:2, to-client:3, http:4 } } }
address-listenum ()
address-list-timeoutalt { enum (none-dynamic | none-static) { none-dynamic:0, none-static:0xffffffff } , time [ .. 21474836] , }
ttlsuper { enum (equal | not-equal | less-than | greater-than) { equal:0, not-equal:1, less-than:2, greater-than:3 } , :num [0 .. 255] }
connection-marksuper { ! , enum }
connection-typesuper { ! , enum (ftp | pptp | h323 | sip | irc | quake3 | tftp) { ftp:0, pptp:1, h323:2, sip:3, irc:4, quake3:5, tftp:6 } }
connection-bytessuper { num , -num }
connection-ratesuper { ! , num , -num }
routing-marksuper { ! , enum () { } }
in-interfacesuper { ! , interface_enum { } { } }
out-interfacesuper { ! , interface_enum { } { } }
in-interface-listsuper { ! , enum }
out-interface-listsuper { ! , enum }
in-bridge-portsuper { ! , interface_enum { } { } }
out-bridge-portsuper { ! , interface_enum { } { } }
in-bridge-port-listsuper { ! , enum }
out-bridge-port-listsuper { ! , enum }
packet-marksuper { ! , enum }
src-portsuper { ! , multi_arg { , , range_arg [ .. 65535] } { , , range_arg [ .. 65535] } }
dst-portsuper { ! , multi_arg { , , range_arg [ .. 65535] } { , , range_arg [ .. 65535] } }
portsuper { ! , multi_arg { , , range_arg [ .. 65535] } { , , range_arg [ .. 65535] } }
icmp-optionssuper { ! , num [0 .. 255] , [ :range_arg [ .. 255]] }
src-mac-addresssuper { ! , macAddr }
contentsuper { ! , string }
ingress-prioritysuper { ! , num [0 .. 63] }
prioritysuper { ! , num [0 .. 63] }
dscpsuper { ! , num [0 .. 63] }
tossuper { ! , num [0 .. 255] , [ /num [0 .. 255]] }
limitsuper { ! , num [1 .. 32000000000] , [ /time [1 .. ]] , ,num [ .. 2000000000] , [ :enum (packet | bit) { packet:0, bit:1 }] }
dst-limitsuper { num , [ /time] , ,num , ,enum (dst-address | dst-address-and-port | src-address | src-and-dst-addresses | addresses-and-dst-port) { dst-address:1, dst-address-and-port:3, src-address:4, src-and-dst-addresses:5, addresses-and-dst-port:7 } , [ /time] }
timesuper { ! , time [0 .. 86400] , -time [0 .. 86400] , ,ubit (sun, mon, tue, wed, thu, fri, sat) { sun, mon, tue, wed, thu, fri, sat } }
randomsuper { num [1 .. 99] }
nthsuper { ! , num [1 .. ] , [ ,num [1 .. ]] }
tcp-msssuper { ! , num [0 .. 65535] , -num [0 .. 65535] }
per-connection-classifiersuper { ! , enum (src-address | dst-address | both-addresses | src-port | src-address-and-port | dst-port | dst-address-and-port | both-ports | both-addresses-and-ports) { src-address:1, dst-address:2, both-addresses:3, src-port:4, src-address-and-port:5, dst-port:8, dst-address-and-port:10, both-ports:12, both-addresses-and-ports:15 } , :num [1 .. ] , /num [0 .. ] }
packet-sizesuper { ! , num [ .. 65535] , -num [ .. 65535] }
logbool
log-prefixstring
ipsec-policysuper { enum (in | out) { in:0, out:1 } , ,enum (none | ipsec) { none:0, ipsec:1 } }

ip/firewall/calea

Type: Directory

ArgumentTypeDescription
filteralt { enum (all) { all:0 } , bool , enum (prerouting | input | forward | output | postrouting) { prerouting:1, input:2, forward:3, output:4, postrouting:5 } }
chain ( mandatory )enum (prerouting | input | forward | output | postrouting)
actionenum (sniff | sniff-pc)
sniff-targetipAddr { }
sniff-target-portnum { }
sniff-idnum { }
tls-hostsuper { ! , string }
connection-limitsuper { ! , num , ,num }
layer7-protocolsuper { ! , enum }
realmsuper { ! , num }
protocolsuper { ! , enum () { } }
src-addresssuper { ! , ip_range_arg }
dst-addresssuper { ! , ip_range_arg }
fragmentsuper { bool }
psdsuper { num , ,time , ,num , ,num }
ipv4-optionssuper { enum (strict-source-routing | loose-source-routing | no-source-routing | record-route | no-record-route | timestamp | no-timestamp | router-alert | no-router-alert | any | none) { strict-source-routing:0x1, loose-source-routing:0x2, no-source-routing:0x4, record-route:0x8, no-record-route:0x10, timestamp:0x20, no-timestamp:0x40, router-alert:0x80, no-router-alert:0x100, any:0x200, none:0x400 } }
src-address-typesuper { ! , ubit (unicast, local, broadcast, multicast, blackhole) { unicast, local, broadcast, multicast, blackhole } }
dst-address-typesuper { ! , ubit (unicast, local, broadcast, multicast, blackhole) { unicast, local, broadcast, multicast, blackhole } }
src-address-listsuper { ! , enum }
dst-address-listsuper { ! , enum }
hotspotmulti_arg { array-id, array-id, super { ! , enum (from-client | auth | local-dst | to-client | http) { from-client:0, auth:1, local-dst:2, to-client:3, http:4 } } { ! , enum (from-client | auth | local-dst | to-client | http) { from-client:0, auth:1, local-dst:2, to-client:3, http:4 } } }
address-listenum ()
address-list-timeoutalt { enum (none-dynamic | none-static) { none-dynamic:0, none-static:0xffffffff } , time [ .. 21474836] , }
ttlsuper { enum (equal | not-equal | less-than | greater-than) { equal:0, not-equal:1, less-than:2, greater-than:3 } , :num [0 .. 255] }
connection-marksuper { ! , enum }
connection-typesuper { ! , enum (ftp | pptp | h323 | sip | irc | quake3 | tftp) { ftp:0, pptp:1, h323:2, sip:3, irc:4, quake3:5, tftp:6 } }
connection-bytessuper { num , -num }
connection-ratesuper { ! , num , -num }
routing-marksuper { ! , enum () { } }
in-interfacesuper { ! , interface_enum { } { } }
out-interfacesuper { ! , interface_enum { } { } }
in-interface-listsuper { ! , enum }
out-interface-listsuper { ! , enum }
in-bridge-portsuper { ! , interface_enum { } { } }
out-bridge-portsuper { ! , interface_enum { } { } }
in-bridge-port-listsuper { ! , enum }
out-bridge-port-listsuper { ! , enum }
packet-marksuper { ! , enum }
src-portsuper { ! , multi_arg { , , range_arg [ .. 65535] } { , , range_arg [ .. 65535] } }
dst-portsuper { ! , multi_arg { , , range_arg [ .. 65535] } { , , range_arg [ .. 65535] } }
portsuper { ! , multi_arg { , , range_arg [ .. 65535] } { , , range_arg [ .. 65535] } }
icmp-optionssuper { ! , num [0 .. 255] , [ :range_arg [ .. 255]] }
src-mac-addresssuper { ! , macAddr }
contentsuper { ! , string }
ingress-prioritysuper { ! , num [0 .. 63] }
prioritysuper { ! , num [0 .. 63] }
dscpsuper { ! , num [0 .. 63] }
tossuper { ! , num [0 .. 255] , [ /num [0 .. 255]] }
limitsuper { ! , num [1 .. 32000000000] , [ /time [1 .. ]] , ,num [ .. 2000000000] , [ :enum (packet | bit) { packet:0, bit:1 }] }
dst-limitsuper { num , [ /time] , ,num , ,enum (dst-address | dst-address-and-port | src-address | src-and-dst-addresses | addresses-and-dst-port) { dst-address:1, dst-address-and-port:3, src-address:4, src-and-dst-addresses:5, addresses-and-dst-port:7 } , [ /time] }
timesuper { ! , time [0 .. 86400] , -time [0 .. 86400] , ,ubit (sun, mon, tue, wed, thu, fri, sat) { sun, mon, tue, wed, thu, fri, sat } }
randomsuper { num [1 .. 99] }
nthsuper { ! , num [1 .. ] , [ ,num [1 .. ]] }
tcp-msssuper { ! , num [0 .. 65535] , -num [0 .. 65535] }
per-connection-classifiersuper { ! , enum (src-address | dst-address | both-addresses | src-port | src-address-and-port | dst-port | dst-address-and-port | both-ports | both-addresses-and-ports) { src-address:1, dst-address:2, both-addresses:3, src-port:4, src-address-and-port:5, dst-port:8, dst-address-and-port:10, both-ports:12, both-addresses-and-ports:15 } , :num [1 .. ] , /num [0 .. ] }
packet-sizesuper { ! , num [ .. 65535] , -num [ .. 65535] }
logbool
log-prefixstring
ipsec-policysuper { enum (in | out) { in:0, out:1 } , ,enum (none | ipsec) { none:0, ipsec:1 } }

ip/firewall/layer7-protocol

Type: Directory

ArgumentTypeDescription
namestring
regexpstring

ip/firewall/raw

Type: Directory

FlagNameDescription
Xdisableddisabled
Iinvalidinvalid
Ddynamicdynamic
ArgumentTypeDescription
allswitch
staticswitch
dynamicswitch
chain ( mandatory )enum
actionenum (accept | jump | return | log | passthrough | add-src-to-address-list | add-dst-to-address-list | drop | notrack)
jump-targetenum ()
tcp-flagssuper { !, , multi_arg { array-id, array-id, super { ! , enum (fin | syn | rst | psh | ack | urg | ece | cwr) { fin:0, syn:1, rst:2, psh:3, ack:4, urg:5, ece:6, cwr:7 } } { ! , enum (fin | syn | rst | psh | ack | urg | ece | cwr) { fin:0, syn:1, rst:2, psh:3, ack:4, urg:5, ece:6, cwr:7 } } } { array-id, array-id, super { ! , enum (fin | syn | rst | psh | ack | urg | ece | cwr) { fin:0, syn:1, rst:2, psh:3, ack:4, urg:5, ece:6, cwr:7 } } { ! , enum (fin | syn | rst | psh | ack | urg | ece | cwr) { fin:0, syn:1, rst:2, psh:3, ack:4, urg:5, ece:6, cwr:7 } } } }
tls-hostsuper { ! , string }
in-interfacesuper { ! , interface_enum { } { } }
out-interfacesuper { ! , interface_enum { } { } }
in-interface-listsuper { ! , enum }
out-interface-listsuper { ! , enum }
in-bridge-portsuper { ! , interface_enum { } { } }
out-bridge-portsuper { ! , interface_enum { } { } }
in-bridge-port-listsuper { ! , enum }
out-bridge-port-listsuper { ! , enum }
packet-marksuper { ! , enum }
src-portsuper { ! , multi_arg { , , range_arg [ .. 65535] } { , , range_arg [ .. 65535] } }
dst-portsuper { ! , multi_arg { , , range_arg [ .. 65535] } { , , range_arg [ .. 65535] } }
portsuper { ! , multi_arg { , , range_arg [ .. 65535] } { , , range_arg [ .. 65535] } }
icmp-optionssuper { ! , num [0 .. 255] , [ :range_arg [ .. 255]] }
src-mac-addresssuper { ! , macAddr }
contentsuper { ! , string }
ingress-prioritysuper { ! , num [0 .. 63] }
prioritysuper { ! , num [0 .. 63] }
dscpsuper { ! , num [0 .. 63] }
tossuper { ! , num [0 .. 255] , [ /num [0 .. 255]] }
limitsuper { ! , num [1 .. 32000000000] , [ /time [1 .. ]] , ,num [ .. 2000000000] , [ :enum (packet | bit) { packet:0, bit:1 }] }
dst-limitsuper { num , [ /time] , ,num , ,enum (dst-address | dst-address-and-port | src-address | src-and-dst-addresses | addresses-and-dst-port) { dst-address:1, dst-address-and-port:3, src-address:4, src-and-dst-addresses:5, addresses-and-dst-port:7 } , [ /time] }
timesuper { ! , time [0 .. 86400] , -time [0 .. 86400] , ,ubit (sun, mon, tue, wed, thu, fri, sat) { sun, mon, tue, wed, thu, fri, sat } }
randomsuper { num [1 .. 99] }
nthsuper { ! , num [1 .. ] , [ ,num [1 .. ]] }
tcp-msssuper { ! , num [0 .. 65535] , -num [0 .. 65535] }
per-connection-classifiersuper { ! , enum (src-address | dst-address | both-addresses | src-port | src-address-and-port | dst-port | dst-address-and-port | both-ports | both-addresses-and-ports) { src-address:1, dst-address:2, both-addresses:3, src-port:4, src-address-and-port:5, dst-port:8, dst-address-and-port:10, both-ports:12, both-addresses-and-ports:15 } , :num [1 .. ] , /num [0 .. ] }
packet-sizesuper { ! , num [ .. 65535] , -num [ .. 65535] }
logbool
log-prefixstring
ipsec-policysuper { enum (in | out) { in:0, out:1 } , ,enum (none | ipsec) { none:0, ipsec:1 } }
protocolsuper { ! , enum () { } }
src-addresssuper { ! , ip_range_arg }
dst-addresssuper { ! , ip_range_arg }
fragmentsuper { bool }
psdsuper { num , ,time , ,num , ,num }
ipv4-optionssuper { enum (strict-source-routing | loose-source-routing | no-source-routing | record-route | no-record-route | timestamp | no-timestamp | router-alert | no-router-alert | any | none) { strict-source-routing:0x1, loose-source-routing:0x2, no-source-routing:0x4, record-route:0x8, no-record-route:0x10, timestamp:0x20, no-timestamp:0x40, router-alert:0x80, no-router-alert:0x100, any:0x200, none:0x400 } }
src-address-typesuper { ! , ubit (unicast, local, broadcast, multicast, blackhole) { unicast, local, broadcast, multicast, blackhole } }
dst-address-typesuper { ! , ubit (unicast, local, broadcast, multicast, blackhole) { unicast, local, broadcast, multicast, blackhole } }
src-address-listsuper { ! , enum }
dst-address-listsuper { ! , enum }
hotspotmulti_arg { array-id, array-id, super { ! , enum (from-client | auth | local-dst | to-client | http) { from-client:0, auth:1, local-dst:2, to-client:3, http:4 } } { ! , enum (from-client | auth | local-dst | to-client | http) { from-client:0, auth:1, local-dst:2, to-client:3, http:4 } } }
address-listenum ()
address-list-timeoutalt { enum (none-dynamic | none-static) { none-dynamic:0, none-static:0xffffffff } , time [ .. 21474836] , }
ttlsuper { enum (equal | not-equal | less-than | greater-than) { equal:0, not-equal:1, less-than:2, greater-than:3 } , :num [0 .. 255] }
Read-only ArgumentTypeDescription
bytesnum
packetsnum

ip/firewall/raw/reset-counters

Type: Command

ip/firewall/raw/reset-counters-all

Type: Command